package com.manner.groupon.service.store;

import com.baomidou.mybatisplus.extension.service.IService;
import com.manner.groupon.common.BaseResponse;
import com.manner.groupon.model.entity.StoreAccountFlow;
import com.manner.groupon.model.entity.StoreLinkMan;
import com.manner.groupon.model.vo.StaffQueryStoreAccountFlowVO;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author manner
 * @description 针对表[tb_store_account_flow(商家账面流水表)]的数据库操作Service
 * @createDate 2024-10-13 14:26:26
 */
public interface StoreAccountFlowService extends IService<StoreAccountFlow> {

    /**
     * @param staffPhone
     * @return StaffQueryStoreAccountFlowVO
     * @description: 查询获取所有邀请联系人的商户门店的所有团购订单流水记录
     * @author Manner
     * @date 2024/11/11 10:47
     */
    List<StaffQueryStoreAccountFlowVO> getAllFlow(String staffPhone);

    /**
     * 查询商家流水
     *
     * @param phone 商家手机号
     * @return
     */
    BaseResponse<List<StoreAccountFlow>> search(String phone);

}
